package dto

// PageResult 分页结果
type PageResult struct {
	List     interface{} `json:"list"`
	Total    int64       `json:"total"`
	Page     int         `json:"page"`
	PageSize int         `json:"pageSize"`
}

// CaptchaResponse 验证码响应
type CaptchaResponse struct {
	CaptchaID    string `json:"captchaId"`
	CaptchaImage string `json:"captchaImage"`
}

// IDRequest ID 请求
type IDRequest struct {
	ID uint `uri:"id" binding:"required,min=1"`
}

// IDsRequest 批量 ID 请求
type IDsRequest struct {
	IDs []uint `json:"ids" binding:"required,min=1"`
}
